package com.itwlj.vo;

import com.itwlj.entity.Goods;
import com.itwlj.entity.SubCategory;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SubCategoryDetailVO {

    //子分类id
    private Long id;

    //子分类名称
    private String name;

    //子分类图片
    private String picture;

    //商品集合
    private List<Goods> goodsList = new ArrayList<>();
}
